Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@zinknovo
zinknovo / cc
Created March 15, 2026 22:37
Claude Code wrapper with session naming and auto-summarization
#!/usr/bin/env bash
# cc - Claude Code wrapper with session naming
# Usage:
# cc Start a new Claude Code session
# cc n <name> Start a new session with a name
# cc ls List sessions (current project)
# cc ls -a List sessions across all projects
# cc r <name|index> Resume a session by name or index
# cc rn <index> <name> Rename a session
# cc rm <name|index> Delete a session
@burkeholland
burkeholland / ainstall.md
Last active May 11, 2026 15:32
Ultralight Orchestration

Ultralight Orchestration

A minimal multi-agent system with an orchestrator, a planner, a coder, and a designer working together providing orchestration between Claude, Codex and Gemini.

Instructions

Install all agents listed below into VS Code Insiders...

Title Type Description
@razhangwei
razhangwei / LangGraph.md
Created February 10, 2025 03:16
LangGraph cheatsheet

This is an excellent LangGraph cheat sheet! It provides a comprehensive and practical overview of LangGraph's key features and usage. Here's a slightly refined version with added clarity and formatting for better readability:


LangGraph Cheat Sheet

1. Import Necessary Modules

from typing import TypedDict, Dict, Any, Callable
from langchain_core.runnables import Runnable
@notnotrobby
notnotrobby / cgp.md
Last active May 11, 2026 15:28
List of free resources to study computer graphics programming.
Two pointers: one input, opposite ends
```python3
def fn(arr):
left = ans = 0
right = len(arr) - 1
while left < right:
# do some logic here with left and right
if CONDITION: